/**
 * Created by Freeman on 2016/3/27.
 */
var config = {
    session:{
        cookieSecret: 'myblog',
        cookie:  {maxAge: 60000*5}
    },
    cookieSecret: 'myblog',

    //mongodb

    db: 'blog-server',
    host: '127.0.0.1',
    port: 27017,


    // redis 配置，默认是本地
    redis_host: '127.0.0.1',
    redis_port: 6379,

    github:{
        clientID: "ff75066b71b712f03740",
        clientSecret: "f0efe7f850a936c8d52198bb78c6cddf16ba81ac",
        callbackURL: "http://blog.com/api/auth/github/callback"
    }

};


module.exports = config;